package com.chongdong.util;

import org.apache.commons.lang3.StringUtils;

import java.util.HashMap;
import java.util.Map;

public class NameUtils {

    public static final String IMB = "imb";
    public static final String HUALI = "huali";
    public static final String NUTRI = "nutri";
    public static final String SAAS = "saas";

    /**
     * 存放差异商家对应关系
     */
    public static Map<String, String> hualiProviderMap = new HashMap<>();
    public static Map<String, String> imbProviderMap = new HashMap<>();
    public static Map<String, String> nutriProviderMap = new HashMap<>();
    public static Map<String, String> saasProviderMap = new HashMap<>();

    public static Map<String, String> hualiBrandMap = new HashMap<>();
    public static Map<String, String> imbBrandMap = new HashMap<>();
    public static Map<String, String> nutriBrandMap = new HashMap<>();
    public static Map<String, String> saasBrandMap = new HashMap<>();
    public static Map<String, String> hualiBrandEnMap = new HashMap<>();
    public static Map<String, String> imbBrandEnMap = new HashMap<>();
    public static Map<String, String> nutriBrandEnMap = new HashMap<>();
    public static Map<String, String> saasBrandEnMap = new HashMap<>();

    static {
        hualiProviderMap.put("四川艾思玛特仪器设备有限公司","四川艾斯玛特仪器设备有限公司");
        hualiProviderMap.put("北京博康美华生物","北京博康美华生物科技有限公司");
        hualiProviderMap.put("普兰德-五洲东方","北京五洲东方科技发展有限公司");
        hualiProviderMap.put("上海亚速旺","亚速旺(上海)商贸有限公司");
        hualiProviderMap.put("曙光玻璃仪器厂","通州区曙光玻璃仪器厂");
        hualiProviderMap.put("欣维尔玻璃","北京欣维尔玻璃仪器有限公司");
        hualiProviderMap.put("赛多利斯","赛多利斯科学仪器有限公司");
        imbProviderMap.put("四川艾斯玛特仪器设备有限公司","四川艾斯玛特仪器设备有限公司");
        imbProviderMap.put("百灵威科技有限公司","北京百灵威科技有限公司");
        imbProviderMap.put("北京博康美华生物","北京博康美华生物科技有限公司");
        imbProviderMap.put("普兰德-五洲东方","北京五洲东方科技发展有限公司");
        imbProviderMap.put("上海亚速旺","亚速旺(上海)商贸有限公司");
        imbProviderMap.put("曙光玻璃仪器厂","通州区曙光玻璃仪器厂");
        imbProviderMap.put("欣维尔玻璃","北京欣维尔玻璃仪器有限公司");
        imbProviderMap.put("全式金生物技术有限公司","北京全式金生物技术有限公司");
        imbProviderMap.put("赛多利斯","赛多利斯科学仪器有限公司");
        nutriProviderMap.put("艾斯玛特仪器贸易有限公司","四川艾斯玛特仪器设备有限公司");
        nutriProviderMap.put("全式金生物技术有限公司","北京全式金生物技术有限公司");
        saasProviderMap.put("Thermofisher Finnpipette精准移液产品", "北京虫洞空间信息科技有限公司");
        saasProviderMap.put("国药集团化学试剂北京有限公司","国药集团化学试剂有限公司");
        saasProviderMap.put("欣博盛生物科技有限公司","北京欣博盛生物科技有限公司");


        hualiBrandEnMap.put("Abcam","艾博抗");
        hualiBrandEnMap.put("Adamas-beta","阿达玛斯");
        hualiBrandEnMap.put("Axygen/爱思进","爱思进");
        hualiBrandEnMap.put("BioAssay Systems","博世生物");
        hualiBrandEnMap.put("普兰德","普兰德");
        hualiBrandEnMap.put("Greiner/葛莱娜","葛莱娜");
        hualiBrandEnMap.put("凯杰","凯杰");
        hualiBrandEnMap.put("迪科马","DIKMA");
        hualiBrandEnMap.put("乐基因","乐基因");
        hualiBrandEnMap.put("Nalgene/耐洁","乐基因");
        hualiBrandEnMap.put("Rainin/瑞宁","瑞宁");
        hualiBrandEnMap.put("Sartorius/赛多利斯","Sartorius");
        hualiBrandEnMap.put("ThermoFisher","Thermo Fisher Scientific");
        hualiBrandEnMap.put("Accela","Accela");
        hualiBrandEnMap.put("Schott/肖特","肖特");
        hualiBrandEnMap.put("BD Falcon","");
        hualiBrandEnMap.put("HANNA","哈纳");
        hualiBrandEnMap.put("IBS","");
        hualiBrandEnMap.put("Millipore/密理博","默克密理博");
        hualiBrandEnMap.put("PeproTech","派普泰克");
        hualiBrandEnMap.put("陶素","陶素生化");
        hualiBrandEnMap.put("Eppendorf/艾本德","Eppendorf");
        hualiBrandEnMap.put("艾勒斯","ismart");
        hualiBrandEnMap.put("艾斯玛特","");
        hualiBrandEnMap.put("艾伊津","AIEgen");
        hualiBrandEnMap.put("Ammex/爱马斯","AMMEX");
        hualiBrandEnMap.put("巴罗克/BIOLOGIX","Biologix");
        hualiBrandEnMap.put("大龙/DragonLab","DragonLab");
        hualiBrandEnMap.put("JET/洁特","JET BIOFIL");
        hualiBrandEnMap.put("聚合美","Mei5bio");

        hualiBrandMap.put("IBS","INTEGRA");
        hualiBrandMap.put("Adamas-beta","Adamas");
        hualiBrandMap.put("阿达玛斯","Adamas");
        hualiBrandMap.put("Axygen/爱思进","Axygen");
        hualiBrandMap.put("普兰德","BRAND");
        hualiBrandMap.put("BD Falcon","Falcon");
        hualiBrandMap.put("Greiner/葛莱娜","Greiner");
        hualiBrandMap.put("Millipore/密理博","Merck millipore");
        hualiBrandMap.put("Pall/颇尔","PALL");
        hualiBrandMap.put("ProSpec","ProSpec-Tany");
        hualiBrandMap.put("凯杰","QIAGEN");
        hualiBrandMap.put("巴罗克/BIOLOGIX","巴罗克");
        hualiBrandMap.put("迪科马","迪马");
        hualiBrandMap.put("乐基因","Nalgene");
        hualiBrandMap.put("Nalgene/耐洁","Nalgene");
        hualiBrandMap.put("Rainin/瑞宁","Rainin");
        hualiBrandMap.put("Sartorius/赛多利斯","赛多利斯");
        hualiBrandMap.put("ThermoFisher","赛默飞世尔");
        hualiBrandMap.put("Accela","韶远");
        hualiBrandMap.put("Schott/肖特","SCHOTT");
        hualiBrandMap.put("MP","MP Bio");
        hualiBrandMap.put("RCI","RCI Labscan");
        hualiBrandMap.put("陶素","TargetMol");
        hualiBrandMap.put("TEDIA","Tempshield");
        hualiBrandMap.put("Tempshield","Testo");
        hualiBrandMap.put("Eppendorf/艾本德","艾本德");
        hualiBrandMap.put("艾勒斯","艾斯玛特");
        hualiBrandMap.put("艾斯玛特","艾维他 Airvita");
        hualiBrandMap.put("艾伊津","艾伟拓");
        hualiBrandMap.put("Ammex/爱马斯","爱马斯");
        hualiBrandMap.put("大龙/DragonLab","大龙");
        hualiBrandMap.put("笛柏试剂","笛柏");
        hualiBrandMap.put("富士施乐","富士");
        hualiBrandMap.put("JET/洁特","洁特");




        imbBrandMap.put("艾博抗","Abcam");
        imbBrandMap.put("Ark","Ark Pharm");
        imbBrandMap.put("Axygen/爱思进","Axygen");
        imbBrandMap.put("爱思进","Axygen");
        imbBrandMap.put("普兰德","BRAND");
        imbBrandMap.put("Greiner/葛莱娜","Greiner");
        imbBrandMap.put("哈希","HACH");
        imbBrandMap.put("Hycult Biotech","Hycult");
        imbBrandMap.put("Merck","Merck millipore");
        imbBrandMap.put("Merck millipore","Merck millipore");
        imbBrandMap.put("默克","Merck millipore");
        imbBrandMap.put("Pall/颇尔","PALL");
        imbBrandMap.put("ProSpec","ProSpec-Tany");
        imbBrandMap.put("西格玛奥德里奇","Sigma-Aldrich");
        imbBrandMap.put("BIO-RAD","伯乐");
        imbBrandMap.put("迪科马","迪马");
        imbBrandMap.put("Nalgene/耐洁","Nalgene");
        imbBrandMap.put("乐基因","Nalgene");
        imbBrandMap.put("龙方","龙科方舟");
        imbBrandMap.put("Rainin/瑞宁","Rainin");
        imbBrandMap.put("Sartorius/赛多利斯","赛多利斯");
        imbBrandMap.put("Accela","韶远");
        imbBrandMap.put("东仁化学","同仁化学");
        imbBrandMap.put("Schott/肖特","SCHOTT");
        imbBrandMap.put("IBS","INTEGRA");
        imbBrandMap.put("MP","MP Bio");
        imbBrandMap.put("SATO","SATO/佐藤");
        imbBrandMap.put("Target Mol","TargetMol");
        imbBrandMap.put("梯希爱","TCI");
        imbBrandMap.put("天地","TEDIA");
        imbBrandMap.put("Eppendorf/艾本德","艾本德");
        imbBrandMap.put("Ammex/爱马斯","爱马斯");
        imbBrandMap.put("毕得","毕得医药");
        imbBrandMap.put("大龙/DragonLab","大龙");
        imbBrandMap.put("JET/洁特","洁特");
        imbBrandMap.put("Roche","罗氏");
        imbBrandMap.put("MEDICOM/麦迪康","麦迪康");
        imbBrandMap.put("三菱MGC","三菱化学");
        imbBrandMap.put("Alfa-Aesar","Alfa Aesar");
        imbBrandMap.put("Alfa","Alfa Aesar");
        imbBrandMap.put("GL","GL Sciences");
        imbBrandMap.put("IBA","IBA Life Sciences");


        imbBrandEnMap.put("艾博抗","艾博抗");
        imbBrandEnMap.put("爱思进","爱思进");
        imbBrandEnMap.put("BioAssay Systems","博世生物");
        imbBrandEnMap.put("普兰德","普兰德");
        imbBrandEnMap.put("Greiner/葛莱娜","葛莱娜");
        imbBrandEnMap.put("Merck","默克密理博");
        imbBrandEnMap.put("Merck millipore","默克密理博");
        imbBrandEnMap.put("默克","默克密理博");
        imbBrandEnMap.put("OHAUS","奥豪斯");
        imbBrandEnMap.put("Nalgene/耐洁","乐基因");
        imbBrandEnMap.put("乐基因","乐基因");
        imbBrandEnMap.put("Rainin/瑞宁","瑞宁");
        imbBrandEnMap.put("Sartorius/赛多利斯","Sartorius");
        imbBrandEnMap.put("Accela","Accela");
        imbBrandEnMap.put("Schott/肖特","肖特");
        imbBrandEnMap.put("IBS","");
        imbBrandEnMap.put("PeproTech","派普泰克");
        imbBrandEnMap.put("Target Mol","陶素生化");
        imbBrandEnMap.put("TargetMol","陶素生化");
        imbBrandEnMap.put("梯希爱","梯希爱");
        imbBrandEnMap.put("天地","");
        imbBrandEnMap.put("Eppendorf/艾本德","Eppendorf");
        imbBrandEnMap.put("Ammex/爱马斯","AMMEX");
        imbBrandEnMap.put("大龙/DragonLab","DragonLab");
        imbBrandEnMap.put("洁特","JET BIOFIL");
        imbBrandEnMap.put("聚合美","Mei5bio");
        imbBrandEnMap.put("Roche","Roche");
        imbBrandEnMap.put("Bioruler","百奥百乐");
        imbBrandEnMap.put("BioTek","伯腾");
        imbBrandEnMap.put("CST","赛信通");
        imbBrandEnMap.put("Invtrogen","英潍捷基");

        nutriBrandEnMap.put("Nalgene/耐洁","乐基因");
        nutriBrandEnMap.put("乐基因","乐基因");
        nutriBrandEnMap.put("Abcam","艾博抗");
        nutriBrandEnMap.put("艾博抗","艾博抗");
        nutriBrandMap.put("艾博抗","Abcam");
        nutriBrandMap.put("Ark","Ark Pharm");
        nutriBrandMap.put("Axygen/爱思进","Axygen");
        nutriBrandMap.put("阿达玛斯","Adamas");
        nutriBrandMap.put("普兰德","BRAND");
        nutriBrandMap.put("BD Falcon","Falcon");
        nutriBrandMap.put("Greiner/葛莱娜","Greiner");
        nutriBrandMap.put("哈希","HACH");
        nutriBrandMap.put("Hycult Biotech","Hycult");
        nutriBrandMap.put("Pall/颇尔","PALL");
        nutriBrandMap.put("颇尔","PALL");
        nutriBrandMap.put("ProSpec","ProSpec-Tany");
        nutriBrandMap.put("凯杰","QIAGEN");
        nutriBrandMap.put("aladdin","阿拉丁");
        nutriBrandMap.put("巴罗克/BIOLOGIX","巴罗克");
        nutriBrandMap.put("BIO-RAD","伯乐");
        nutriBrandMap.put("迪科马","迪马");
        nutriBrandMap.put("Nalgene/耐洁","Nalgene");
        nutriBrandMap.put("乐基因","Nalgene");
        nutriBrandMap.put("瑞宁","Rainin");
        nutriBrandMap.put("Rainin/瑞宁","Rainin");
        nutriBrandMap.put("Sartorius/赛多利斯","赛多利斯");
        nutriBrandMap.put("Accela","韶远");
        nutriBrandMap.put("探索精选","肽业");
        nutriBrandMap.put("梯希爱","探索精选");
        nutriBrandMap.put("肖特","SCHOTT");
        nutriBrandMap.put("Schott/肖特","SCHOTT");
        nutriBrandMap.put("英潍捷基","英芮诚");
        nutriBrandMap.put("IBS","INTEGRA");
        nutriBrandMap.put("MP","MP Bio");
        nutriBrandMap.put("SATO","SATO/佐藤");
        nutriBrandMap.put("TBD天津灝洋","TBD");
        nutriBrandMap.put("天地","TEDIA");
        nutriBrandMap.put("Eppendorf/艾本德","艾本德");
        nutriBrandMap.put("Ammex/爱马斯","爱马斯");
        nutriBrandMap.put("毕得","毕得医药");
        nutriBrandMap.put("碧云天","毕得医药");
        nutriBrandMap.put("大龙/DragonLab","大龙");
        nutriBrandMap.put("富士施乐","富士");
        nutriBrandMap.put("JET/洁特","洁特");
        nutriBrandMap.put("Genscript","金斯瑞");
        nutriBrandMap.put("MEDICOM/麦迪康","麦迪康");
        nutriBrandMap.put("南京建成生物技术有限公司","南京建成");
        nutriBrandMap.put("IBA","IBA Life Sciences");


        nutriBrandEnMap.put("阿达玛斯","阿达玛斯");
        nutriBrandEnMap.put("BioAssay Systems","博世生物");
        nutriBrandEnMap.put("普兰德","普兰德");
        nutriBrandEnMap.put("Greiner/葛莱娜","葛莱娜");
        nutriBrandEnMap.put("凯杰","凯杰");
        nutriBrandEnMap.put("Rainin/瑞宁","瑞宁");
        nutriBrandEnMap.put("Sartorius/赛多利斯","赛多利斯");
        nutriBrandEnMap.put("Accela","Accela");
        nutriBrandEnMap.put("肖特","肖特");
        nutriBrandEnMap.put("Schott/肖特","肖特");
        nutriBrandEnMap.put("IBS","");
        nutriBrandEnMap.put("PeproTech","派普泰克");
        nutriBrandEnMap.put("TargetMol","陶素生化");
        nutriBrandEnMap.put("TCI","梯希爱");
        nutriBrandEnMap.put("天地","");
        nutriBrandEnMap.put("Eppendorf/艾本德","Eppendorf");
        nutriBrandEnMap.put("Ammex/爱马斯","AMMEX");
        nutriBrandEnMap.put("大龙/DragonLab","DragonLab");
        nutriBrandEnMap.put("JET/洁特","JET BIOFIL");
        nutriBrandEnMap.put("Genscript","Genscript");
        nutriBrandEnMap.put("聚合美","Mei5bio");

        saasBrandMap.put("艾览化工","3A化学");
        saasBrandEnMap.put("艾览化工","3AChemicals");
        saasBrandMap.put("Abel","Abebio");
        saasBrandMap.put("Abfrontier","Abel");
        saasBrandMap.put("Abgene","Abfrontier");
        saasBrandMap.put("ABI","Abgent");
        saasBrandMap.put("Abmart","abm");
        saasBrandMap.put("Abnova","abmole");
        saasBrandMap.put("ABS","Abnova");
        saasBrandMap.put("ACE","ACD");
        saasBrandMap.put("ARMAR","Armar");
        saasBrandMap.put("Acris Antibodies GmbH","ACE");
        saasBrandMap.put("acrometrix","Acris Antibodies GmbH");
        saasBrandMap.put("academy bio-medical co","Abwiz Bio");
        saasBrandMap.put("Acros","acrometrix ");
        saasBrandMap.put("ACS","ACROS ");
        saasBrandMap.put("Active Motif","ACS ");
        saasBrandMap.put("阿达玛斯","Adamas ");
        saasBrandMap.put("法康","Falcon ");
        saasBrandMap.put("GE LIFESCIENCE","GE ");
        saasBrandMap.put("哈希","HACH");
        saasBrandMap.put("HAKKO/白光","HAKKO");
        saasBrandMap.put("Hampton research","HAMPTON");
        saasBrandMap.put("HANNA/哈纳","HANNA");
        saasBrandMap.put("HASEGAWA/长谷川","HASEGAWA");
        saasBrandMap.put("HEIDON/新东科学","HEIDON");
        saasBrandMap.put("HORIBA/堀场","HORIBA");
        saasBrandMap.put("Hycult Biotech","Hycult");
        saasBrandMap.put("Kimberly/金佰利","KIMBERLY-CLARK/金佰利");
        saasBrandMap.put("OHAUS/奥豪斯","OHAUS");
        saasBrandMap.put("奥豪斯","OHAUS");
        saasBrandMap.put("PE","Perkinelmer");
        saasBrandMap.put("珀金埃尔默","Perkinelmer");
        saasBrandMap.put("西格玛奥德里奇","Sigma-Aldrich");
        saasBrandMap.put("Biologix","巴罗克");
        saasBrandMap.put("必拓生物","必拓");
        saasBrandMap.put("Bio-Rad","伯乐");
        saasBrandMap.put("迪科马","迪马");
        saasBrandMap.put("莱盛","莱盛光标");
        saasBrandMap.put("乐基因","Nalgene");
        saasBrandMap.put("瑞宁","Rainin");
        saasBrandMap.put("Thermofisher Finnpipette","赛默飞世尔");
        saasBrandMap.put("赛默飞","赛默飞世尔");
        saasBrandMap.put("Sarstedt","莎斯特");
        saasBrandMap.put("同仁","同仁化学");
        saasBrandMap.put("肖特","SCHOTT");
        saasBrandMap.put("庄盟/庄盟生物","庄盟");
        saasBrandMap.put("Macherey-Nagel","MN");
        saasBrandMap.put("RD","R&D");
        saasBrandMap.put("洛克伍德锂","Rockwood");
        saasBrandMap.put("SATO","SATO/佐藤");
        saasBrandMap.put("梯希爱 TCI","TCI");
        saasBrandMap.put("天地","TEDIA");
        saasBrandMap.put("AMMEX爱马斯","爱马斯");
        saasBrandMap.put("毕得","毕得医药");
        saasBrandMap.put("碧云天","毕得医药");
        saasBrandMap.put("施乐","富士");
        saasBrandMap.put("天津津腾","津腾");
        saasBrandMap.put("Alfa-Aesar","Alfa Aesar");
        saasBrandMap.put("百奥百乐","Bioruler");
        saasBrandMap.put("cst","CST");
        saasBrandMap.put("IBA","IBA Life Sciences");
        saasBrandMap.put("德国ibidi","ibidi");
        saasBrandMap.put("Invtrogen","Invitrogen");
        saasBrandMap.put("Jackson","Jackson Immunoresearch");
        saasBrandMap.put("Jackson Immuno","Jackson Immunoresearch");
        saasBrandMap.put("豪思","豪思生物");


        saasBrandEnMap.put("阿达玛斯","Adamas ");
        saasBrandEnMap.put("ABS","亚诺法");
        saasBrandEnMap.put("BD","碧迪");
        saasBrandEnMap.put("HAKKO/白光","白光");
        saasBrandEnMap.put("HASEGAWA/长谷川","长谷川");
        saasBrandEnMap.put("HEIDON/新东科学","新东科学");
        saasBrandEnMap.put("OHAUS/奥豪斯","奥豪斯");
        saasBrandEnMap.put("奥豪斯","奥豪斯");
        saasBrandEnMap.put("瑞宁","瑞宁");
        saasBrandEnMap.put("Thermofisher Finnpipette","Thermo Fisher Scientific");
        saasBrandEnMap.put("赛默飞","Thermo Fisher Scientific");
        saasBrandEnMap.put("Sarstedt","sarstedt");
        saasBrandEnMap.put("同仁","DOJINDO");
        saasBrandEnMap.put("肖特","肖特");
        saasBrandEnMap.put("TCI","梯希爱");
        saasBrandEnMap.put("天地","");
        saasBrandEnMap.put("AMMEX爱马斯","AMMEX");
        saasBrandEnMap.put("施乐","Fuji Xerox");
        saasBrandEnMap.put("聚合美","Mei5bio");
        saasBrandEnMap.put("百奥百乐","百奥百乐");
        saasBrandEnMap.put("德国ibidi","易必迪");





    }

    /**
     * 根据本地系统商家名称获取最终saas商家名称
     *
     * @param localSysTemeProviderName 本地系统中商家的名称
     * @param sysTemeName              本地系统名称，imb,huali,nutri,saas
     * @return
     */
    public static String getFinalSysProviderName(String localSysTemeProviderName, String sysTemeName) {
        localSysTemeProviderName = localSysTemeProviderName.trim();
        String finalName = null;
        switch (sysTemeName.trim()) {
            case NameUtils.IMB:
                finalName = StringUtils.isBlank(imbProviderMap.get(localSysTemeProviderName)) ? localSysTemeProviderName : imbProviderMap.get(localSysTemeProviderName);
                break;
            case NameUtils.HUALI:
                finalName = StringUtils.isBlank(hualiProviderMap.get(localSysTemeProviderName)) ? localSysTemeProviderName : hualiProviderMap.get(localSysTemeProviderName);
                break;
            case NameUtils.NUTRI:
                finalName = StringUtils.isBlank(nutriProviderMap.get(localSysTemeProviderName)) ? localSysTemeProviderName : nutriProviderMap.get(localSysTemeProviderName);
                break;
            case NameUtils.SAAS:
                finalName = StringUtils.isBlank(saasProviderMap.get(localSysTemeProviderName)) ? localSysTemeProviderName : saasProviderMap.get(localSysTemeProviderName);
                break;
        }
        return finalName;
    }

    /**
     * 根据本地系统商家名称获取最终saas商家名称
     *
     * @param localSysTemeBrandName 本地系统中商家的名称
     * @param sysTemeName           本地系统名称，imb,huali,nutri,saas
     * @return
     */
    public static String getFinalPrdBrandName(String localSysTemeBrandName, String sysTemeName) {
        localSysTemeBrandName = localSysTemeBrandName.trim();
        String finalName = null;
        switch (sysTemeName.trim()) {
            case NameUtils.IMB:
                finalName = StringUtils.isBlank(imbBrandMap.get(localSysTemeBrandName)) ? localSysTemeBrandName : imbBrandMap.get(localSysTemeBrandName);
                break;
            case NameUtils.HUALI:
                finalName = StringUtils.isBlank(hualiBrandMap.get(localSysTemeBrandName)) ? localSysTemeBrandName : hualiBrandMap.get(localSysTemeBrandName);
                break;
            case NameUtils.NUTRI:
                finalName = StringUtils.isBlank(nutriBrandMap.get(localSysTemeBrandName)) ? localSysTemeBrandName : nutriBrandMap.get(localSysTemeBrandName);
                break;
            case NameUtils.SAAS:
                finalName = StringUtils.isBlank(saasBrandMap.get(localSysTemeBrandName)) ? localSysTemeBrandName : saasBrandMap.get(localSysTemeBrandName);
                break;
        }
        return finalName;
    }
    public static String getFinalPrdBrandNameEn(String localSysTemeBrandName, String sysTemeName) {
        localSysTemeBrandName = localSysTemeBrandName.trim();
        String finalName = null;
        switch (sysTemeName.trim()) {
            case NameUtils.IMB:
                finalName = StringUtils.isBlank(imbBrandEnMap.get(localSysTemeBrandName)) ? localSysTemeBrandName : imbBrandEnMap.get(localSysTemeBrandName);
                break;
            case NameUtils.HUALI:
                finalName = StringUtils.isBlank(hualiBrandEnMap.get(localSysTemeBrandName)) ? localSysTemeBrandName : hualiBrandEnMap.get(localSysTemeBrandName);
                break;
            case NameUtils.NUTRI:
                finalName = StringUtils.isBlank(nutriBrandEnMap.get(localSysTemeBrandName)) ? localSysTemeBrandName : nutriBrandEnMap.get(localSysTemeBrandName);
                break;
            case NameUtils.SAAS:
                finalName = StringUtils.isBlank(saasBrandEnMap.get(localSysTemeBrandName)) ? localSysTemeBrandName : saasBrandEnMap.get(localSysTemeBrandName);
                break;
        }
        return finalName;
    }

}
